{% extends "base.html" %}
{% load elems %}

{% block title %}Задачи{% endblock %}

{% block content %}
    {% comment %}    
	<h1>Задачи</h1>
	<div class="task_item">     
	    <div class="head">
	       <a href="" class="menulink">Создать задачу</a>
	    </div>
	</div>	
	{% if user %}
	   <div class="user_card">
		   {{ user }}
	   </div>
	{% endif %}
	{% endcomment %}
	
	<table class="wide layout" >
	   <tr valign="top">
	       {% for title, tasks in columns %}
		       <td width="{{ column_size }}%">   
                    <h2>{{ title }}</h2>
                    {% if tasks %}
						{% for task in tasks %}
						   {% task_card task %}
						{% endfor %}
                    {% else %}
                        (нету)
                    {% endif %}
		       </td>
	       {% endfor %}
	       <td>
				{% for task in active_tasks %}
				   {% task_card task %}
				{% endfor %}
	       </td>
	   </tr>
	</table>
{% endblock %}
